Add missing do for transform rptdigits, rptname.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 13 Apr 2014 00:54:47 +0000 (00:54 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 13 Apr 2014 00:54:47 +0000 (00:54 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4804 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/xmldoc/filters/options/transform-rptdigits.xml [new file with mode: 0644]
gpsbabel/xmldoc/filters/options/transform-rptname.xml [new file with mode: 0644]

diff --git a/gpsbabel/xmldoc/filters/options/transform-rptdigits.xml b/gpsbabel/xmldoc/filters/options/transform-rptdigits.xml
new file mode 100644 (file)
index 0000000..c035606
--- /dev/null
@@ -0,0 +1,13 @@
+<para>\r
+This option lets you configure how many digits GPSBabel uses for numbering generated route point names.\r
+</para>\r
+<para>\r
+When GPSBabel creates route points during the transformation process these points are sequentially numbered and named "RPTxxx" where xxx represent the number. By default GPSBabel uses 3 digits for these numbers. Rationale: This way a large number of route points can be uniquely named while the generated names are limited to 6 characters. This limitation is imposed by specific GPS-devices.\r
+</para>\r
+<para>\r
+Using this option GPSBabel can be configured to use less or more digits for the generated names. This option is best used in conjunction with the rptname option.\r
+</para>\r
+<example id="transform_rptdigits">\r
+<title>Convert a GPX track to a GPX route, deleting the original track, using 2 digits for the generated numbers.</title>\r
+<para><userinput>gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptdigits=2 -o gpx -F route.gpx</userinput></para>\r
+</example>\r
diff --git a/gpsbabel/xmldoc/filters/options/transform-rptname.xml b/gpsbabel/xmldoc/filters/options/transform-rptname.xml
new file mode 100644 (file)
index 0000000..39a1c2f
--- /dev/null
@@ -0,0 +1,12 @@
+<para>\r
+With this option you can decide to let GPSBabel name generated route points according to their source track name.\r
+</para>\r
+<para>\r
+GPSBabel creates route points during the transformation process named "RPTxxx" where xxx is a numeric part.</para>\r
+<para>\r
+Using this option GPSBabel can be configured to replace the "RPT" part of the generated names by the name of the source track during the transformation process. This is especially usefull if several differently named tracks are contained in the source file which should each be transformed into routes.\r
+</para>\r
+<example id="transform_rptname">\r
+<title>Convert a GPX track to a GPX route, deleting the original track, naming the generated points like the original track name.</title>\r
+<para><userinput>gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptname=y -o gpx -F route.gpx</userinput></para>\r
+</example>\r